/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Modele;

import Modele.Droit.RBAC.IObjet;
import java.util.UUID;

/**
 *
 * @author Cyril
 */
public class UE implements IObjet
{
    private UUID mIdUe = UUID.randomUUID();
    private int mCode;
    private String mDescription;
    
    public UE(int pCode, String pDescrition)
    {
        mCode = pCode;
        mDescription = pDescrition;
    }
    
    public UUID getId()
    {
        return mIdUe;
    }
    
    public int getCode()
    {
        return mCode;
    }
    
    public String getDescription()
    {
        return mDescription;
    }
    
    public void setDescription(String pDescription)
    {
        mDescription = pDescription;
    }
}
